<?php
namespace app\common\model;

class WorkLog extends Base
{
    protected $name = 'work_log';

    public function getSubmitTimeAttr($val)
    {
        if(!$val){
            return '-';
        }

        return date('Y-m-d', $val);
    }
}